package com.hy.service1;

import feign.Param;
import feign.RequestLine;

public interface UserService {

    /**
     * 通过用户id查询用户名称
     * @param id
     * @return
     */
    @RequestLine("GET /userService/getUserNameById?id={id}")
    String getUserNameById(@Param("id") Integer id);

}
